<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>XenC: PhraseTable Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">XenC
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">Open-source tool for data selection in NLP</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="class_phrase_table-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">PhraseTable Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Class handling phrase-table related functionalities.  
 <a href="class_phrase_table.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="phrasetable_8h_source.html">phrasetable.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aeea9cf41c0fe564011cf9e69d0fa4174"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_phrase_table.html#aeea9cf41c0fe564011cf9e69d0fa4174">PhraseTable</a> ()</td></tr>
<tr class="memdesc:aeea9cf41c0fe564011cf9e69d0fa4174"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor.  <a href="#aeea9cf41c0fe564011cf9e69d0fa4174">More...</a><br /></td></tr>
<tr class="separator:aeea9cf41c0fe564011cf9e69d0fa4174"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7b885bf055e632ef0a3ea08b3a56215"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_phrase_table.html#ad7b885bf055e632ef0a3ea08b3a56215">initialize</a> (boost::shared_ptr&lt; <a class="el" href="class_xen_file.html">XenFile</a> &gt; ptrData)</td></tr>
<tr class="memdesc:ad7b885bf055e632ef0a3ea08b3a56215"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialization function from an already instanciated <a class="el" href="class_xen_file.html" title="Class providing some basic functions around files. ">XenFile</a>.  <a href="#ad7b885bf055e632ef0a3ea08b3a56215">More...</a><br /></td></tr>
<tr class="separator:ad7b885bf055e632ef0a3ea08b3a56215"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a004ca89ec6dbda91aa1eb8339e6f1f2a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_phrase_table.html#a004ca89ec6dbda91aa1eb8339e6f1f2a">~PhraseTable</a> ()</td></tr>
<tr class="memdesc:a004ca89ec6dbda91aa1eb8339e6f1f2a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default destructor.  <a href="#a004ca89ec6dbda91aa1eb8339e6f1f2a">More...</a><br /></td></tr>
<tr class="separator:a004ca89ec6dbda91aa1eb8339e6f1f2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e82a1296848e36cbf376754a4594332"><td class="memItemLeft" align="right" valign="top">boost::shared_ptr&lt; <a class="el" href="class_xen_file.html">XenFile</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_phrase_table.html#a9e82a1296848e36cbf376754a4594332">getXenFile</a> () const </td></tr>
<tr class="memdesc:a9e82a1296848e36cbf376754a4594332"><td class="mdescLeft">&#160;</td><td class="mdescRight">Accessor to the <a class="el" href="class_xen_file.html" title="Class providing some basic functions around files. ">XenFile</a> associated to the <a class="el" href="class_phrase_table.html" title="Class handling phrase-table related functionalities. ">PhraseTable</a>.  <a href="#a9e82a1296848e36cbf376754a4594332">More...</a><br /></td></tr>
<tr class="separator:a9e82a1296848e36cbf376754a4594332"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afed99089344b3b9c294b68e1357e9e13"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_phrase_table.html#afed99089344b3b9c294b68e1357e9e13">getSource</a> (int n)</td></tr>
<tr class="memdesc:afed99089344b3b9c294b68e1357e9e13"><td class="mdescLeft">&#160;</td><td class="mdescRight">Accessor to the nth source phrase.  <a href="#afed99089344b3b9c294b68e1357e9e13">More...</a><br /></td></tr>
<tr class="separator:afed99089344b3b9c294b68e1357e9e13"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af502a1c69356c10e50bc9768bee72991"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_phrase_table.html#af502a1c69356c10e50bc9768bee72991">getTarget</a> (int n)</td></tr>
<tr class="memdesc:af502a1c69356c10e50bc9768bee72991"><td class="mdescLeft">&#160;</td><td class="mdescRight">Accessor to the nth target phrase.  <a href="#af502a1c69356c10e50bc9768bee72991">More...</a><br /></td></tr>
<tr class="separator:af502a1c69356c10e50bc9768bee72991"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a6951601e23324b860140ccf88059e7"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_phrase_table.html#a1a6951601e23324b860140ccf88059e7">getScores</a> (int n)</td></tr>
<tr class="memdesc:a1a6951601e23324b860140ccf88059e7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Accessor to the nth scores for the source/target phrase pair.  <a href="#a1a6951601e23324b860140ccf88059e7">More...</a><br /></td></tr>
<tr class="separator:a1a6951601e23324b860140ccf88059e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a52792d5aceb6355f8e52672e4d4e2570"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_phrase_table.html#a52792d5aceb6355f8e52672e4d4e2570">getAlignment</a> (int n)</td></tr>
<tr class="memdesc:a52792d5aceb6355f8e52672e4d4e2570"><td class="mdescLeft">&#160;</td><td class="mdescRight">Accessor to the nth alignments for the source/target phrase pair.  <a href="#a52792d5aceb6355f8e52672e4d4e2570">More...</a><br /></td></tr>
<tr class="separator:a52792d5aceb6355f8e52672e4d4e2570"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5cdec93022f04bc65e3e315efcb85186"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_phrase_table.html#a5cdec93022f04bc65e3e315efcb85186">getCounts</a> (int ph)</td></tr>
<tr class="memdesc:a5cdec93022f04bc65e3e315efcb85186"><td class="mdescLeft">&#160;</td><td class="mdescRight">Accessor to the nth counts for the source/target phrase pair.  <a href="#a5cdec93022f04bc65e3e315efcb85186">More...</a><br /></td></tr>
<tr class="separator:a5cdec93022f04bc65e3e315efcb85186"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a26124a8baed2aacc32ac855a2ed8a759"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="class_source_phrase.html">SourcePhrase</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_phrase_table.html#a26124a8baed2aacc32ac855a2ed8a759">getSrcPhrases</a> ()</td></tr>
<tr class="memdesc:a26124a8baed2aacc32ac855a2ed8a759"><td class="mdescLeft">&#160;</td><td class="mdescRight">Accessor to the vector of merged source phrases.  <a href="#a26124a8baed2aacc32ac855a2ed8a759">More...</a><br /></td></tr>
<tr class="separator:a26124a8baed2aacc32ac855a2ed8a759"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acecda1214c68dfe359656aac2401462a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_phrase_table.html#acecda1214c68dfe359656aac2401462a">setSrcPhrases</a> (std::vector&lt; <a class="el" href="class_source_phrase.html">SourcePhrase</a> &gt; vSP)</td></tr>
<tr class="memdesc:acecda1214c68dfe359656aac2401462a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Mutator to the vector of merged source phrases.  <a href="#acecda1214c68dfe359656aac2401462a">More...</a><br /></td></tr>
<tr class="separator:acecda1214c68dfe359656aac2401462a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a131e70dc06b4d9bdda8f566f43714600"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_phrase_table.html#a131e70dc06b4d9bdda8f566f43714600">getSize</a> () const </td></tr>
<tr class="memdesc:a131e70dc06b4d9bdda8f566f43714600"><td class="mdescLeft">&#160;</td><td class="mdescRight">Accessor to the size of the <a class="el" href="class_phrase_table.html" title="Class handling phrase-table related functionalities. ">PhraseTable</a>.  <a href="#a131e70dc06b4d9bdda8f566f43714600">More...</a><br /></td></tr>
<tr class="separator:a131e70dc06b4d9bdda8f566f43714600"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Class handling phrase-table related functionalities. </p>
<p>This class handles all phrase-table related functionalities and is used in the fourth filtering mode </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="aeea9cf41c0fe564011cf9e69d0fa4174"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">PhraseTable::PhraseTable </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Default constructor. </p>

</div>
</div>
<a class="anchor" id="a004ca89ec6dbda91aa1eb8339e6f1f2a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">PhraseTable::~PhraseTable </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Default destructor. </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a52792d5aceb6355f8e52672e4d4e2570"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string PhraseTable::getAlignment </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>n</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Accessor to the nth alignments for the source/target phrase pair. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">n</td><td>: integer representing the phrase number </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>string containing the alignment </dd></dl>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_phrase_table_a52792d5aceb6355f8e52672e4d4e2570_cgraph.png" border="0" usemap="#class_phrase_table_a52792d5aceb6355f8e52672e4d4e2570_cgraph" alt=""/></div>
<map name="class_phrase_table_a52792d5aceb6355f8e52672e4d4e2570_cgraph" id="class_phrase_table_a52792d5aceb6355f8e52672e4d4e2570_cgraph">
<area shape="rect" id="node2" href="class_xen_common_1_1_splitter.html#a7d9e0fa4bfe66e9e3609454dd855a417" title="XenCommon::Splitter\l::reset" alt="" coords="234,5,382,44"/>
</map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_phrase_table_a52792d5aceb6355f8e52672e4d4e2570_icgraph.png" border="0" usemap="#class_phrase_table_a52792d5aceb6355f8e52672e4d4e2570_icgraph" alt=""/></div>
<map name="class_phrase_table_a52792d5aceb6355f8e52672e4d4e2570_icgraph" id="class_phrase_table_a52792d5aceb6355f8e52672e4d4e2570_icgraph">
<area shape="rect" id="node2" href="class_phrase_table.html#a131e70dc06b4d9bdda8f566f43714600" title="Accessor to the size of the PhraseTable. " alt="" coords="234,5,381,31"/>
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a5cdec93022f04bc65e3e315efcb85186"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string PhraseTable::getCounts </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>n</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Accessor to the nth counts for the source/target phrase pair. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">n</td><td>: integer representing the phrase number </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>string containing the counts </dd></dl>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_phrase_table_a5cdec93022f04bc65e3e315efcb85186_cgraph.png" border="0" usemap="#class_phrase_table_a5cdec93022f04bc65e3e315efcb85186_cgraph" alt=""/></div>
<map name="class_phrase_table_a5cdec93022f04bc65e3e315efcb85186_cgraph" id="class_phrase_table_a5cdec93022f04bc65e3e315efcb85186_cgraph">
<area shape="rect" id="node2" href="class_xen_common_1_1_splitter.html#a7d9e0fa4bfe66e9e3609454dd855a417" title="XenCommon::Splitter\l::reset" alt="" coords="217,5,365,44"/>
</map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_phrase_table_a5cdec93022f04bc65e3e315efcb85186_icgraph.png" border="0" usemap="#class_phrase_table_a5cdec93022f04bc65e3e315efcb85186_icgraph" alt=""/></div>
<map name="class_phrase_table_a5cdec93022f04bc65e3e315efcb85186_icgraph" id="class_phrase_table_a5cdec93022f04bc65e3e315efcb85186_icgraph">
<area shape="rect" id="node2" href="class_phrase_table.html#a131e70dc06b4d9bdda8f566f43714600" title="Accessor to the size of the PhraseTable. " alt="" coords="217,5,364,31"/>
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a1a6951601e23324b860140ccf88059e7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string PhraseTable::getScores </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>n</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Accessor to the nth scores for the source/target phrase pair. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">n</td><td>: integer representing the phrase number </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>string containing the scores </dd></dl>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_phrase_table_a1a6951601e23324b860140ccf88059e7_cgraph.png" border="0" usemap="#class_phrase_table_a1a6951601e23324b860140ccf88059e7_cgraph" alt=""/></div>
<map name="class_phrase_table_a1a6951601e23324b860140ccf88059e7_cgraph" id="class_phrase_table_a1a6951601e23324b860140ccf88059e7_cgraph">
<area shape="rect" id="node2" href="class_xen_common_1_1_splitter.html#a7d9e0fa4bfe66e9e3609454dd855a417" title="XenCommon::Splitter\l::reset" alt="" coords="216,5,364,44"/>
</map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_phrase_table_a1a6951601e23324b860140ccf88059e7_icgraph.png" border="0" usemap="#class_phrase_table_a1a6951601e23324b860140ccf88059e7_icgraph" alt=""/></div>
<map name="class_phrase_table_a1a6951601e23324b860140ccf88059e7_icgraph" id="class_phrase_table_a1a6951601e23324b860140ccf88059e7_icgraph">
<area shape="rect" id="node2" href="class_phrase_table.html#a131e70dc06b4d9bdda8f566f43714600" title="Accessor to the size of the PhraseTable. " alt="" coords="216,5,364,31"/>
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a131e70dc06b4d9bdda8f566f43714600"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int PhraseTable::getSize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Accessor to the size of the <a class="el" href="class_phrase_table.html" title="Class handling phrase-table related functionalities. ">PhraseTable</a>. </p>
<dl class="section return"><dt>Returns</dt><dd>unsigned int representing the size </dd></dl>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_phrase_table_a131e70dc06b4d9bdda8f566f43714600_cgraph.png" border="0" usemap="#class_phrase_table_a131e70dc06b4d9bdda8f566f43714600_cgraph" alt=""/></div>
<map name="class_phrase_table_a131e70dc06b4d9bdda8f566f43714600_cgraph" id="class_phrase_table_a131e70dc06b4d9bdda8f566f43714600_cgraph">
<area shape="rect" id="node2" href="class_xen_i_o.html#ad087c0895d023a9ff0c0a1f794854b5d" title="Reads a file (plain text/gzipped) " alt="" coords="255,12,348,37"/>
<area shape="rect" id="node4" href="class_phrase_table.html#afed99089344b3b9c294b68e1357e9e13" title="Accessor to the nth source phrase. " alt="" coords="220,61,383,87"/>
<area shape="rect" id="node6" href="class_source_phrase.html#a2e16718735a86126d9ef5a20e8a6e43b" title="Accessor to the source phrase. " alt="" coords="214,111,388,136"/>
<area shape="rect" id="node7" href="class_source_phrase.html#aaaec171f591bb7e3e2c745757fb24bde" title="Associates a target phrase to the source phrase. " alt="" coords="215,160,388,185"/>
<area shape="rect" id="node8" href="class_phrase_table.html#af502a1c69356c10e50bc9768bee72991" title="Accessor to the nth target phrase. " alt="" coords="222,209,381,235"/>
<area shape="rect" id="node9" href="class_source_phrase.html#a4f34613ddb8474b0ff263e03505ce3c8" title="Associates a phrase table scores sequence to the source phrase. " alt="" coords="213,259,390,284"/>
<area shape="rect" id="node10" href="class_phrase_table.html#a1a6951601e23324b860140ccf88059e7" title="Accessor to the nth scores for the source/target phrase pair. " alt="" coords="220,308,383,333"/>
<area shape="rect" id="node11" href="class_source_phrase.html#a28d577d9675171fbf3048d0aeaf6cc78" title="Associates alignments to the source phrase. " alt="" coords="201,357,402,383"/>
<area shape="rect" id="node12" href="class_phrase_table.html#a52792d5aceb6355f8e52672e4d4e2570" title="Accessor to the nth alignments for the source/target phrase pair. " alt="" coords="211,407,392,432"/>
<area shape="rect" id="node13" href="class_source_phrase.html#a524e702b0b75bafaacabf95121d929df" title="Associates counts to the source phrase. " alt="" coords="213,456,390,481"/>
<area shape="rect" id="node14" href="class_phrase_table.html#a5cdec93022f04bc65e3e315efcb85186" title="Accessor to the nth counts for the source/target phrase pair. " alt="" coords="220,505,383,531"/>
<area shape="rect" id="node3" href="struct_xen_common_1_1_xen_c_eption.html#a32ca1dc358f84de4e63d73c72e318c42" title="Accessor to the exception message. " alt="" coords="450,5,628,44"/>
<area shape="rect" id="node5" href="class_xen_common_1_1_splitter.html#a7d9e0fa4bfe66e9e3609454dd855a417" title="XenCommon::Splitter\l::reset" alt="" coords="465,301,613,340"/>
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="afed99089344b3b9c294b68e1357e9e13"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string PhraseTable::getSource </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>n</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Accessor to the nth source phrase. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">n</td><td>: integer representing the phrase number </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>string containing the source phrase </dd></dl>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_phrase_table_afed99089344b3b9c294b68e1357e9e13_cgraph.png" border="0" usemap="#class_phrase_table_afed99089344b3b9c294b68e1357e9e13_cgraph" alt=""/></div>
<map name="class_phrase_table_afed99089344b3b9c294b68e1357e9e13_cgraph" id="class_phrase_table_afed99089344b3b9c294b68e1357e9e13_cgraph">
<area shape="rect" id="node2" href="class_xen_common_1_1_splitter.html#a7d9e0fa4bfe66e9e3609454dd855a417" title="XenCommon::Splitter\l::reset" alt="" coords="217,5,365,44"/>
</map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_phrase_table_afed99089344b3b9c294b68e1357e9e13_icgraph.png" border="0" usemap="#class_phrase_table_afed99089344b3b9c294b68e1357e9e13_icgraph" alt=""/></div>
<map name="class_phrase_table_afed99089344b3b9c294b68e1357e9e13_icgraph" id="class_phrase_table_afed99089344b3b9c294b68e1357e9e13_icgraph">
<area shape="rect" id="node2" href="class_phrase_table.html#a131e70dc06b4d9bdda8f566f43714600" title="Accessor to the size of the PhraseTable. " alt="" coords="217,5,364,31"/>
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a26124a8baed2aacc32ac855a2ed8a759"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt; <a class="el" href="class_source_phrase.html">SourcePhrase</a> &gt; PhraseTable::getSrcPhrases </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Accessor to the vector of merged source phrases. </p>
<dl class="section return"><dt>Returns</dt><dd>vector of merged <a class="el" href="class_source_phrase.html" title="Class holding a merged source phrase and all associated data. ">SourcePhrase</a> </dd></dl>

</div>
</div>
<a class="anchor" id="af502a1c69356c10e50bc9768bee72991"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string PhraseTable::getTarget </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>n</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Accessor to the nth target phrase. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">n</td><td>: integer representing the phrase number </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>string containing the target phrase </dd></dl>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_phrase_table_af502a1c69356c10e50bc9768bee72991_cgraph.png" border="0" usemap="#class_phrase_table_af502a1c69356c10e50bc9768bee72991_cgraph" alt=""/></div>
<map name="class_phrase_table_af502a1c69356c10e50bc9768bee72991_cgraph" id="class_phrase_table_af502a1c69356c10e50bc9768bee72991_cgraph">
<area shape="rect" id="node2" href="class_xen_common_1_1_splitter.html#a7d9e0fa4bfe66e9e3609454dd855a417" title="XenCommon::Splitter\l::reset" alt="" coords="212,5,360,44"/>
</map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_phrase_table_af502a1c69356c10e50bc9768bee72991_icgraph.png" border="0" usemap="#class_phrase_table_af502a1c69356c10e50bc9768bee72991_icgraph" alt=""/></div>
<map name="class_phrase_table_af502a1c69356c10e50bc9768bee72991_icgraph" id="class_phrase_table_af502a1c69356c10e50bc9768bee72991_icgraph">
<area shape="rect" id="node2" href="class_phrase_table.html#a131e70dc06b4d9bdda8f566f43714600" title="Accessor to the size of the PhraseTable. " alt="" coords="212,5,359,31"/>
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a9e82a1296848e36cbf376754a4594332"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">boost::shared_ptr&lt; <a class="el" href="class_xen_file.html">XenFile</a> &gt; PhraseTable::getXenFile </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Accessor to the <a class="el" href="class_xen_file.html" title="Class providing some basic functions around files. ">XenFile</a> associated to the <a class="el" href="class_phrase_table.html" title="Class handling phrase-table related functionalities. ">PhraseTable</a>. </p>
<dl class="section return"><dt>Returns</dt><dd>shared pointer to the <a class="el" href="class_xen_file.html" title="Class providing some basic functions around files. ">XenFile</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ad7b885bf055e632ef0a3ea08b3a56215"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void PhraseTable::initialize </td>
          <td>(</td>
          <td class="paramtype">boost::shared_ptr&lt; <a class="el" href="class_xen_file.html">XenFile</a> &gt;&#160;</td>
          <td class="paramname"><em>ptrData</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Initialization function from an already instanciated <a class="el" href="class_xen_file.html" title="Class providing some basic functions around files. ">XenFile</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ptrData</td><td>: shared pointer on a <a class="el" href="class_xen_file.html" title="Class providing some basic functions around files. ">XenFile</a> representing the <a class="el" href="class_phrase_table.html" title="Class handling phrase-table related functionalities. ">PhraseTable</a> on disk </td></tr>
  </table>
  </dd>
</dl>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_phrase_table_ad7b885bf055e632ef0a3ea08b3a56215_cgraph.png" border="0" usemap="#class_phrase_table_ad7b885bf055e632ef0a3ea08b3a56215_cgraph" alt=""/></div>
<map name="class_phrase_table_ad7b885bf055e632ef0a3ea08b3a56215_cgraph" id="class_phrase_table_ad7b885bf055e632ef0a3ea08b3a56215_cgraph">
<area shape="rect" id="node2" href="class_xen_option.html#a97ad096aee729b4d8ae993b1381d4eec" title="Accessor to the instance of the singleton XenOption object. " alt="" coords="221,5,381,31"/>
<area shape="rect" id="node3" href="namespace_xen_common.html#a3fd9978be1bd41808ac4605c2e89d816" title="Template converting a value (generally a string) into an integer. " alt="" coords="235,55,367,80"/>
<area shape="rect" id="node4" href="namespace_xen_common.html#ab8c7a51d6bf68d64848f1ca9bc3805d0" title="Executes a system command and returns the output. " alt="" coords="204,104,398,143"/>
<area shape="rect" id="node5" href="class_xen_option.html#a0fa3ea5f0f0cfed980710a9cf73917d9" title="Accessor to the local score for phrase&#45;table scoring execution state. " alt="" coords="230,167,372,192"/>
</map>
</div>
</p>

</div>
</div>
<a class="anchor" id="acecda1214c68dfe359656aac2401462a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void PhraseTable::setSrcPhrases </td>
          <td>(</td>
          <td class="paramtype">std::vector&lt; <a class="el" href="class_source_phrase.html">SourcePhrase</a> &gt;&#160;</td>
          <td class="paramname"><em>vSP</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Mutator to the vector of merged source phrases. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">vSP</td><td>: vector of <a class="el" href="class_source_phrase.html" title="Class holding a merged source phrase and all associated data. ">SourcePhrase</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>include/<a class="el" href="phrasetable_8h_source.html">phrasetable.h</a></li>
<li>src/<a class="el" href="phrasetable_8cpp.html">phrasetable.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Mar 18 2016 17:22:37 for XenC by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
